package com.itheima.threadpool2;

public class MyThreadDemo1 {
    public static void main(String[] args) {
        //查看java能获取的最大线程数
        int i = Runtime.getRuntime().availableProcessors();
        System.out.println(i);
    }
}
